<form id="add-form" class="form-horizontal" style="position:relative;background: #fff" role="form" data-toggle="validator" method="POST" action="">
    
    <div class="panel-body">
        <div id="myTabContent" class="tab-content" >
            <div class="tab-pane fade active in" id="tabs_0">
                <input type="hidden" name="row[id]" value="" class="form-control" data-rule="" data-tip="ID"  />

                <div class="form-group">
                    <label  class="control-label col-xs-12 col-sm-2">城市:</label>
                    <div class="col-xs-12 col-sm-8" id="div-district_id">
                        <div style="margin-top:-2px;margin-left: -2px;">
                            <select id="province" class="form-control liandong"  name="row[province_id]"
                                    type="text" value=""></select>
                            <select id="city" class="form-control liandong"  name="row[city_id]"
                                    type="text" value=""></select>
                            <select id="county" class="form-control liandong"  name="row[district_id]"
                                    type="text" value=""></select>
                        </div>
                    </div>
                </div>

                   <div class="form-group">
                        <label for="c-name" class="control-label col-xs-12 col-sm-2">机构名称:</label>
                        <div class="col-xs-12 col-sm-8" id="div-name">
                            <input type="text" id="c-name" name="row[name]" value="" class="form-control" title="name"  placeholder="" data-rule=""  data-tip="机构名称"  />
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-logo" class="control-label col-xs-12 col-sm-2">机构Logo:</label>
                        <div class="col-xs-12 col-sm-8" id="div-logo">
                            <div class="form-inline">
                                <input id="c-logo" class="form-control" size="39" name="row[logo]" type="text" value="" data-tip="机构Logo">
                                <span><button type="button" id="plupload-logo" class="btn btn-danger plupload" data-input-id="c-logo" data-mimetype="image/*" data-multiple="false" data-preview-id="p-logo"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-logo" class="btn btn-primary fachoose" data-input-id="c-logo" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                <ul class="row list-inline plupload-preview" id="p-logo"></ul>
                            </div>
                        </div>
                   </div>

                   <div class="form-group">
                        <label for="c-image" class="control-label col-xs-12 col-sm-2">首页头图:</label>
                        <div class="col-xs-12 col-sm-8" id="div-image">
                            <div class="form-inline">
                                <input id="c-image" class="form-control" size="39" name="row[image]" type="text" value="" data-tip="首页头图">
                                <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/*" data-multiple="false" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                                <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                                <ul class="row list-inline plupload-preview" id="p-image"></ul>
                            </div>
                        </div>
                   </div>

                <div class="form-group">
                    <label for="c-intro" class="control-label col-xs-12 col-sm-2">学校简介:</label>
                    <div class="col-xs-12 col-sm-8" id="div-intro">
                        <textarea name="row[intro]" id="editor-intro" class="form-control editor" data-rule="" rows="5" data-tip="学校简介" ></textarea>
                    </div>
                </div>


                <div class="form-group layer-footer">
                    <label class="control-label col-xs-12 col-sm-2"></label>
                    <div class="col-xs-12 col-sm-8">
                        <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
                        <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
                    </div>
                </div>
            </div>
            
        </div>
    </div>
</form>



